package com.example.JcGQS.pojo.dto;

import com.fasterxml.jackson.annotation.JsonSetter;
import lombok.Data;

@Data
public class ProjectAcceptanceDTO {
    public ProjectAcceptanceDTO(Integer projectOutputGoodsId, Integer projectOutputProjectId, Integer projectOutputQuantity, String projectOutputRemark, Integer userId, Integer submitUserId) {
        this.projectOutputGoodsId = projectOutputGoodsId;
        this.projectOutputProjectId = projectOutputProjectId;
        this.projectOutputQuantity = projectOutputQuantity;
        this.projectOutputRemark = projectOutputRemark;
        this.userId = userId;
        this.submitUserId = submitUserId;
    }

    /**
     * 项目出库物料id
     */
    @JsonSetter("projectOutputGoodsId")
    private Integer projectOutputGoodsId;

    /**
     * 项目出库领用项目id
     */
    @JsonSetter("projectOutputProjectId")
    private Integer projectOutputProjectId;

    /**
     * 项目出库的数量
     */
    @JsonSetter("projectOutputQuantity")
    private Integer projectOutputQuantity;

    /**
     * 项目出库的备注
     */
    @JsonSetter("projectOutputRemark")
    private String projectOutputRemark;

    @JsonSetter("userId")
    private Integer userId;
    /**
     * 出库人
     */
    @JsonSetter("submitUserId")
    private Integer submitUserId;
}
